PREVIEW: This program is a secret encoder! It uses a code called Pig Latin.

  • Click Run and watch the stage to see the sprite say "hello from mars" in a secret code.
  • Look at the end of each word! Where in the code does "ay" get added to each word?
  • Use the comment on line 24 to find and open the print console to see the output of lines 11, 14, and 15!
  • When you are done, click Submit and Next to move on.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)